export interface LoginParm {
  username: string,
  password: string,
  loginType: string
}
/**
 * 用户新增
 */
export interface UserAddModel {
  id?: number | string,
  name: string,
  username: string,
  departmentId?: number | string,
  email: string,
  gender?: number | string,
  password: string,
  phone: string,
  positionId?: number | string,
}
/**
 * 返回参数接口
 */
export interface LoginResult {
  code: number,
  token: number,
  id: number,
  expireTime: number
}
/**
 * 用户信息接口
 */
export interface UserInfo {
  id: string,
  avatar: string,
  introduction: string,
  name: string,
  roles: Array<string>
}
/**
 * 用户查询
 */
export interface UserPage {
  page: number,
  size: number,
  name?: string,
  gender?: number | string,
  state?: number | string,
  username?: string
}
/**
 * 列表返回
 */
export interface UserTable {
  createTime: string,
  departmentId: number,
  email: string,
  gender: number,
  id: string,
  name: string,
  phone: string,
  positionId: number,
  state: number,
  updateTime: string,
  username: string,
}